package mx.com.matersys.vacs.domain;

public class GenericResponse {
	
	private Boolean success;
	private Object data;
	private Object dataError;
	
	public GenericResponse(){}
	
	public GenericResponse(Boolean success, Object data) {
		this.success = success;
		this.data = data;
	}
	
	public GenericResponse(Boolean success, Object data, Object dataError) {
		this(success, data);
		this.dataError = dataError;
	}
	
	/**
	 * @return the success
	 */
	public Boolean getSuccess() {
		return success;
	}
	/**
	 * @param success the success to set
	 */
	public void setSuccess(Boolean success) {
		this.success = success;
	}
	/**
	 * @return the data
	 */
	public Object getData() {
		return data;
	}
	/**
	 * @param data the data to set
	 */
	public void setData(Object data) {
		this.data = data;
	}

	/**
	 * @return the dataError
	 */
	public Object getDataError() {
		return dataError;
	}

	/**
	 * @param dataError the dataError to set
	 */
	public void setDataError(Object dataError) {
		this.dataError = dataError;
	}
	
	
}
